package cn.maxwell.service;

import cn.maxwell.domain.MovieTicket;
import cn.maxwell.result.JsonResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author maxwell
 * @since 2022-08-29
 */
public interface IMovieTicketService extends IService<MovieTicket> {

    /**
     * 电影票购买
     * @param
     */
    JsonResult byMovieTicket(Long id, Long userId,Integer count);

    /**
     * 电影票观看
     * @param id
     * @param userId
     */
    JsonResult seeMovie(Long id, Long userId);
}
